<template>
	<view class="">
		<u-popup border-radius="40" v-model="show" mode="center" width=500 height=600>
			<image :src="src" mode="aspectFill" class="img" :show-menu-by-longpress='true'></image>
			<view style="text-align: center;">长按识别</view>
		</u-popup>
	</view>
</template>

<script>
	export default {
		props: {
			src: String,
			show: {
				type: Boolean,
				default: false
			}
		},
		data() {
			return {
				baseUrl: this.$u.http.config.baseUrl,
			}
		},
		methods: {

		},
	}
</script>

<style scope>
	.popup {
		border-radius: 50rpx;
	}

	.img {
		margin: 50rpx;
		width: 400rpx;
		height: 400rpx;
	}
</style>
